<div class="pageContent">
	<form method="post" action="{:U(MODULE_NAME.'/'.CONTROLLER_NAME.'/add','','')}/callbackType/closeCurrent/navTabId/authList" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="58">
			<div class="unit">
				<label>上级规则：</label>
				<select name="pid" class="combox" >
				    <option value="0" selected >顶级规则</option>
					<volist name="auth" id="list">
						<if condition="$list.level lt 3">
						<option value="{$list.id}" >{$list.title}</option>
						</if>
					</volist>
				</select>
			</div>

			<div class="unit">
				<label>规则标识：</label>
				<input type="text" class="required"  name="name">
			</div>
			
			<div class="unit">
				<label>规则名称：</label>
				<input type="text" class="required" name="title">
			</div>
			<div class="unit">
				<label>可见状态</label>
				<SELECT name="type" class="combox" >
					<option value="1">显示</option>
					<option value="0">隐藏</option>
				</SELECT>
			</div>
			<div class="unit">
				<label>状态：</label>
				<SELECT name="status" class="combox" >
					<option value="1">启用</option>
					<option value="0">禁用</option>
				</SELECT>
			</div>
			<div class="unit">
				<label>规则表达式：</label>
				<TEXTAREA name="condition"  rows="2" cols="40"></textarea>
			</div>
			<div class="unit">
				<label>排序：</label>
				<input type="text" class="required number"  name="sort" id="sort" value="100" size="5" />
			</div>
		</div>
		
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">添加</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>

</div>

